﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HYHY_Core.Tool.Token
{
    /// <summary>
    /// token用户信息存储模型（用于存储从http.user获取到的用户信息）
    /// </summary>
    public class ClaimKeys
    {
        /// <summary>
        /// UserID
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 数据权限
        /// </summary>
        public string DataPermissions { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 用户类型：
        /// 平台：0
        /// 个体：1
        /// 商家：2
        /// </summary>
        /// </summary>
        public string UserType { get; set; }

        /// <summary>
        /// 权限组Id
        /// </summary>
        public string PermissionGroupId { get; set; }

    }
}
